package com.shop.resource.api;

import com.teemor.common.bean.model.EmailModel;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @Description:
 *
 * @author zhoulk
 * @date: 2019年05月08日  17:28
 */
@RequestMapping("/email")
public interface IEmailApi {

    @PostMapping(value = "/sendEmail", produces = MediaType.APPLICATION_JSON_VALUE)
     void sendEmail(@RequestBody EmailModel emailModel);
}
